﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchTrainList.aspx.cs" Inherits="CourseManagement_TrainClassList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/ys.css"rel="stylesheet" type="text/css" />
    <script src="../Js/jquery-1.4.2.min.js" type="text/javascript"></script>
      <script src="../Js/tablehover.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function SetSelectedCoursewareId(sid, name, url) {
           
            opener.openModelWin(sid, name, url);
            window.close();
        }
     
</script>
</head>
<body>
   <form id="form1" runat="server">
    <div style="margin-left: 5px">
        <div class="title">
            <div class="titleLeft">
                选择培训班</div>
        </div>
        <div>
            <div id="search" class="search2">
                <table cellspacing="1" cellpadding="3" border="0">
                    <tr>
                       <td class="noWrapTD">
                            查找培训班
                        </td>
                         <td class="noWrapTD">
                           <asp:TextBox runat="server" ID="txtTCName" CssClass="inp1" Width="100"></asp:TextBox>
                        </td>
                         <td class="noWrapTD">
                         
                        </td>
                        <td>
                           
                        </td>
                        <td align="right" class="noWrapTD">
                           
                        </td>
                        <td>
                           <asp:Button runat="server" ID="btnfind" Text="搜索"  CssClass="button"  Width="80px"     onclick="btnfind_Click"/>
                        </td>
                    </tr>
                  </table>
              </div>
     <br class="sp3px" />
   <table class="tab_alt" style="width: 100%" cellpadding="0" cellspacing="0">
                    <tr class="header">
     <td class="noWrapTD">操作</td>
    <td  class="noWrapTD" >隶属学校</td>
    <td class="noWrapTD">培训班编号</td>
    <td  class="noWrapTD">培训班名称</td>
    <td class="noWrapTD">培训班人数</td>
    <td class="noWrapTD">培训班开课日期</td>
    <td class="noWrapTD">培训班结课日期</td>
     <td  class="noWrapTD">培训班描述</td>
<%--      <td  class="noWrapTD">创建时间</td>
    <td  class="noWrapTD">修改时间</td>--%>
    </tr>
     <asp:Repeater ID="Repeater1" runat="server">
           <ItemTemplate>
          <tr class="<%# Container.ItemIndex%2==1?"odd":"" %>">
           <td class="ta2">
            <input id="btnAdd" type="button"  value="选定" class="button2"onclick="SetSelectedCoursewareId('<%#Eval("ID")%>','<%#Eval("VTC_name") %>','SearchTrainList.aspx');"/>
           </td>
           <td class="ta2">&nbsp;<%# currentSchoolName%>&nbsp;</td>
           <td class="ta2">&nbsp;<%#Eval("VTC_Number") %>&nbsp;</td>
           <td class="ta2">&nbsp;<%#Eval("VTC_name")%>&nbsp;</td>
           <td class="ta2">&nbsp;<%#Eval("MaxUserCount")%></td>
           <td class="ta2">&nbsp;<%#Eval("vtc_starDate","{0:yyyy-MM-dd}")%></td>
           <td class="ta2">&nbsp;<%#Eval("vtc_endDate","{0:yyyy-MM-dd}") %></td>
             <td class="ta2"><div  style="overflow: hidden; width: 180px; white-space: nowrap; text-overflow: ellipsis;">&nbsp;<%#Eval("VTC_desc")%>&nbsp;</div></td>
<%--             <td class="ta2">&nbsp;<%#Eval("Create_time","{0:HH:dd}")%>&nbsp;</td>
            <td class="ta2">&nbsp;<%#Eval("update_time","{0:HH:dd}")%>&nbsp;</td>--%>
           </tr>
            </ItemTemplate>
            </asp:Repeater>
             </table>
              <br class="sp3px" />
             <webdiyer:AspNetPager ID="pager" runat="server" 
                onpagechanged="pager_PageChanged"   CssClass="anpager" CurrentPageButtonClass="cpb"   PageSize="20" >
            </webdiyer:AspNetPager>
              <asp:HiddenField ID="hidTrainClassIdList" runat="server"  Value=""/>
        </div>
    </form>
    </div>
</body>
</html>





















